package fr.vvins.core.biz.user.dto;

import java.io.Serializable;

import fr.vvins.core.biz.catalog.dto.ProductDtoInfo;
import fr.vvins.core.biz.catalog.dto.VigneronDtoInfo;
import fr.vvins.core.common.dto.BeanDtoImpl;

/**
 * UserComment entity
 */

public class UserRatingDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 5892738146802839374L;

	private Integer id;
	
	private UserDtoInfo user;
		
	private String type;
	
	private Float score;

	private ProductDtoInfo product;
	
	private VigneronDtoInfo vigneron;
	
	public UserRatingDto() {
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Float getScore() {
		return score;
	}

	public void setScore(Float score) {
		this.score = score;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserDtoInfo getUser() {
		return user;
	}

	public void setUser(UserDtoInfo user) {
		this.user = user;
	}

	public ProductDtoInfo getProduct() {
		return product;
	}

	public void setProduct(ProductDtoInfo product) {
		this.product = product;
	}

	public VigneronDtoInfo getVigneron() {
		return vigneron;
	}

	public void setVigneron(VigneronDtoInfo vigneron) {
		this.vigneron = vigneron;
	}
	
}
